package com.chushouya.product.dto.api.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 获取本机机型请求DTO
 * 
 * @author chushouya
 */
@ApiModel("获取本机机型请求")
@Data
public class VisitDeviceRequestApiDTO {

    @ApiModelProperty(value = "品牌", required = true, example = "Apple")
    private String deviceBrand;

    @ApiModelProperty(value = "机型", required = true, example = "iPhone")
    @NotBlank(message = "机型不能为空")
    private String deviceName;

    @ApiModelProperty(value = "系统版本", required = true, example = "iOS 16.6")
    private String deviceSystem;

    @ApiModelProperty(value = "用户ID", required = false, example = "0")
    private Long userId;
}
